package com.ihcil.forecast.demo.vo;

import com.ihcil.forecast.demo.validator.isMobile;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;


/**
 * Create by lotus on 2021/8/15 9:26
 *
 * 登录参数
 */

@Data
public class LoginVo {
    @NotNull
    @isMobile
    private String mobile;
    @NotNull
    @Length(min = 32)
    private String password;

}
